package net.tensor.skynet.service

import net.tensor.skynet.common.user.entity.Result
import net.tensor.skynet.common.user.entity.User
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path

interface HelloService {

    @POST("/")
    fun helloTestPost(@Body user: User): Call<User>

    @GET("/")
    fun helloTestGet(@Path("name") name: String): Call<Result>

}